<?php

class Default_IndexController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    	$this->view->messages = $this->_helper->flashMessenger->getMessages();
    }

    public function indexAction()
    {
        // action body
     
    }
    public function getcityAction()
    {
    	// action body
    	$this->_helper->layout->disableLayout();
    	$this->_helper->viewRenderer->setNoRender();
    	$form = new Clientes_Form_Clientes();
    	$data = $this->_request->getParam('id', 0);
    	echo $form->FormCity($data)->removeDecorator("Label")->removeDecorator("HtmlTag");
    }
    
    public function getosAction()
    {
    	// action body
    	$this->_helper->layout->disableLayout();
    	$this->_helper->viewRenderer->setNoRender();
    	$form = new Os_Form_OrdemServico();
    	$data = $this->_request->getParam('id', 0);
    	$form->formReimpressao($data);
    	$elemento = $form->getmyelement('id_reimpressao');
    	echo $elemento->removeDecorator("Label")->removeDecorator("HtmlTag");
    }


}

